import Vue from 'vue'
import App from './App'
import './assets/base.css'
import './assets/page.css'
import 'mavon-editor/dist/css/index.css'
//加载iview组件
import iView from 'iview';
Vue.use(iView);

//加载自写的组件
import MyConponents from './common/index.js'
Vue.use(MyConponents)

Vue.config.productionTip = false


//引入路由文件
import router from './routes/index.js'
//引入VUEX文件
import store from './store/index.js'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
